<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>document2html: pdf::Pdf Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">document2html
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Documents to HTML converter</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classpdf_1_1_pdf.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classpdf_1_1_pdf-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">pdf::Pdf Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>PDF files into HTML сonverter.  
 <a href="classpdf_1_1_pdf.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="pdf_8hpp_source.html">pdf.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for pdf::Pdf:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpdf_1_1_pdf.png" usemap="#pdf::Pdf_map" alt=""/>
  <map id="pdf::Pdf_map" name="pdf::Pdf_map">
<area href="classfileext_1_1_file_extension.html" title="Base class for file extensions converters. " alt="fileext::FileExtension" shape="rect" coords="0,0,126,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:add31a8649f2abb488e9caec1fbae6ab0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#add31a8649f2abb488e9caec1fbae6ab0">Pdf</a> (const std::string &amp;fileName)</td></tr>
<tr class="separator:add31a8649f2abb488e9caec1fbae6ab0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77a16ce4106a9dbd6031a2415fa4fff8"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#a77a16ce4106a9dbd6031a2415fa4fff8">~Pdf</a> ()=default</td></tr>
<tr class="separator:a77a16ce4106a9dbd6031a2415fa4fff8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a1d3e12d0375b066af3de079ebf4e48"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#a3a1d3e12d0375b066af3de079ebf4e48">convert</a> (bool addStyle=true, bool extractImages=false, char mergingMode=0) override</td></tr>
<tr class="memdesc:a3a1d3e12d0375b066af3de079ebf4e48"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert file to HTML-tree.  <a href="#a3a1d3e12d0375b066af3de079ebf4e48">More...</a><br /></td></tr>
<tr class="separator:a3a1d3e12d0375b066af3de079ebf4e48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classfileext_1_1_file_extension"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classfileext_1_1_file_extension')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classfileext_1_1_file_extension.html">fileext::FileExtension</a></td></tr>
<tr class="memitem:a4b45726a2587126fecd7c9c5d7cacfe8 inherit pub_methods_classfileext_1_1_file_extension"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfileext_1_1_file_extension.html#a4b45726a2587126fecd7c9c5d7cacfe8">FileExtension</a> (const std::string &amp;fileName)</td></tr>
<tr class="separator:a4b45726a2587126fecd7c9c5d7cacfe8 inherit pub_methods_classfileext_1_1_file_extension"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f10caab354b404d975eec795d9c438c inherit pub_methods_classfileext_1_1_file_extension"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfileext_1_1_file_extension.html#a2f10caab354b404d975eec795d9c438c">~FileExtension</a> ()=default</td></tr>
<tr class="separator:a2f10caab354b404d975eec795d9c438c inherit pub_methods_classfileext_1_1_file_extension"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a301c1df2275a047415cf9ec324f29101 inherit pub_methods_classfileext_1_1_file_extension"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfileext_1_1_file_extension.html#a301c1df2275a047415cf9ec324f29101">saveHtml</a> (std::string dir, const std::string &amp;fileName=&quot;tmp.html&quot;) const</td></tr>
<tr class="memdesc:a301c1df2275a047415cf9ec324f29101 inherit pub_methods_classfileext_1_1_file_extension"><td class="mdescLeft">&#160;</td><td class="mdescRight">Save HTML-tree to file.  <a href="classfileext_1_1_file_extension.html#a301c1df2275a047415cf9ec324f29101">More...</a><br /></td></tr>
<tr class="separator:a301c1df2275a047415cf9ec324f29101 inherit pub_methods_classfileext_1_1_file_extension"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d117c868bf67da5e32f6aea7fd753cd inherit pub_methods_classfileext_1_1_file_extension"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfileext_1_1_file_extension.html#a9d117c868bf67da5e32f6aea7fd753cd">loadStyle</a> (pugi::xml_node &amp;node, const std::string &amp;fileName) const</td></tr>
<tr class="memdesc:a9d117c868bf67da5e32f6aea7fd753cd inherit pub_methods_classfileext_1_1_file_extension"><td class="mdescLeft">&#160;</td><td class="mdescRight">Load specific format style.  <a href="classfileext_1_1_file_extension.html#a9d117c868bf67da5e32f6aea7fd753cd">More...</a><br /></td></tr>
<tr class="separator:a9d117c868bf67da5e32f6aea7fd753cd inherit pub_methods_classfileext_1_1_file_extension"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a030df948436a1fdc50a14639b26c2ddc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#a030df948436a1fdc50a14639b26c2ddc">getObjectOptionList</a> (const std::string &amp;object, std::unordered_map&lt; std::string, std::string &gt; &amp;optionList) const</td></tr>
<tr class="memdesc:a030df948436a1fdc50a14639b26c2ddc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get list of current object options.  <a href="#a030df948436a1fdc50a14639b26c2ddc">More...</a><br /></td></tr>
<tr class="separator:a030df948436a1fdc50a14639b26c2ddc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42eefb49bc19a679793ad3b1d30ce205"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#a42eefb49bc19a679793ad3b1d30ce205">decodeStream</a> (const std::string &amp;stream, std::unordered_map&lt; std::string, std::string &gt; &amp;optionList) const</td></tr>
<tr class="memdesc:a42eefb49bc19a679793ad3b1d30ce205"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode stream data.  <a href="#a42eefb49bc19a679793ad3b1d30ce205">More...</a><br /></td></tr>
<tr class="separator:a42eefb49bc19a679793ad3b1d30ce205"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6335eac778e37c568a2b79c1c0fc08e6"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#a6335eac778e37c568a2b79c1c0fc08e6">decodeAsciiHex</a> (const std::string &amp;input) const</td></tr>
<tr class="memdesc:a6335eac778e37c568a2b79c1c0fc08e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode ASCII Hex encoding method.  <a href="#a6335eac778e37c568a2b79c1c0fc08e6">More...</a><br /></td></tr>
<tr class="separator:a6335eac778e37c568a2b79c1c0fc08e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70dcbcdd5ececb34d407f0e9b6d515c0"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#a70dcbcdd5ececb34d407f0e9b6d515c0">decodeAscii85</a> (const std::string &amp;input) const</td></tr>
<tr class="memdesc:a70dcbcdd5ececb34d407f0e9b6d515c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode ASCII 85-base encoding method.  <a href="#a70dcbcdd5ececb34d407f0e9b6d515c0">More...</a><br /></td></tr>
<tr class="separator:a70dcbcdd5ececb34d407f0e9b6d515c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa15f55108013a680271335d0348800f1"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#aa15f55108013a680271335d0348800f1">decodeFlate</a> (const std::string &amp;input) const</td></tr>
<tr class="memdesc:aa15f55108013a680271335d0348800f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode GZ/Deflate encoding method (the most common type of compression in PDF)  <a href="#aa15f55108013a680271335d0348800f1">More...</a><br /></td></tr>
<tr class="separator:aa15f55108013a680271335d0348800f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac81e2485e88153fed1d651a71afb01c7"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#ac81e2485e88153fed1d651a71afb01c7">decodeCcittFax</a> (const std::string &amp;input, std::unordered_map&lt; std::string, std::string &gt; &amp;optionList) const</td></tr>
<tr class="memdesc:ac81e2485e88153fed1d651a71afb01c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode CCITTFaxDecode encoding method (TIFF image format)  <a href="#ac81e2485e88153fed1d651a71afb01c7">More...</a><br /></td></tr>
<tr class="separator:ac81e2485e88153fed1d651a71afb01c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cf2b7177fe782894dc8e0979f6397b7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#a0cf2b7177fe782894dc8e0979f6397b7">getDirtyTextList</a> (std::string stream)</td></tr>
<tr class="memdesc:a0cf2b7177fe782894dc8e0979f6397b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get array of dirty texts from <code>BT</code>-<code>ET</code> containers.  <a href="#a0cf2b7177fe782894dc8e0979f6397b7">More...</a><br /></td></tr>
<tr class="separator:a0cf2b7177fe782894dc8e0979f6397b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ce4bcbb79f4305e05e806ed1053e7d8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#a6ce4bcbb79f4305e05e806ed1053e7d8">getTransformationList</a> (const std::string &amp;stream, std::unordered_map&lt; std::string, std::string &gt; &amp;transformationList) const</td></tr>
<tr class="memdesc:a6ce4bcbb79f4305e05e806ed1053e7d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get table of transformations of individual chars.  <a href="#a6ce4bcbb79f4305e05e806ed1053e7d8">More...</a><br /></td></tr>
<tr class="separator:a6ce4bcbb79f4305e05e806ed1053e7d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4596305c4b71e76ed159594c6f84e47"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#af4596305c4b71e76ed159594c6f84e47">getImages</a> (std::string imageData, std::unordered_map&lt; std::string, std::string &gt; &amp;optionList, pugi::xml_node &amp;htmlNode)</td></tr>
<tr class="memdesc:af4596305c4b71e76ed159594c6f84e47"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extract images.  <a href="#af4596305c4b71e76ed159594c6f84e47">More...</a><br /></td></tr>
<tr class="separator:af4596305c4b71e76ed159594c6f84e47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04844d8d06d13ed8b585baeed3d61f8c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#a04844d8d06d13ed8b585baeed3d61f8c">transformText</a> (pugi::xml_node &amp;htmlNode) const</td></tr>
<tr class="memdesc:a04844d8d06d13ed8b585baeed3d61f8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transform text and generate final text.  <a href="#a04844d8d06d13ed8b585baeed3d61f8c">More...</a><br /></td></tr>
<tr class="separator:a04844d8d06d13ed8b585baeed3d61f8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10c22cb5ccba342ce55eea267eff2826"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a10c22cb5ccba342ce55eea267eff2826"><td class="memTemplItemLeft" align="right" valign="top">std::string&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#a10c22cb5ccba342ce55eea267eff2826">writeByte</a> (const T &amp;data, int size, bool isLittleEndian=false) const</td></tr>
<tr class="memdesc:a10c22cb5ccba342ce55eea267eff2826"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write binary data.  <a href="#a10c22cb5ccba342ce55eea267eff2826">More...</a><br /></td></tr>
<tr class="separator:a10c22cb5ccba342ce55eea267eff2826"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:addc36ba3002f2b82a3aa0eb5c7b666f2"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#addc36ba3002f2b82a3aa0eb5c7b666f2">m_data</a></td></tr>
<tr class="separator:addc36ba3002f2b82a3aa0eb5c7b666f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8dbcc764ce2e48baf60b4da05041c9fb"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::pair&lt; std::string, std::string &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#a8dbcc764ce2e48baf60b4da05041c9fb">m_textList</a></td></tr>
<tr class="separator:a8dbcc764ce2e48baf60b4da05041c9fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa3d48e119fd19b49576c853f4351a15"><td class="memItemLeft" align="right" valign="top">std::unordered_map&lt; std::string, std::unordered_map&lt; std::string, std::string &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#afa3d48e119fd19b49576c853f4351a15">m_transformationList</a></td></tr>
<tr class="separator:afa3d48e119fd19b49576c853f4351a15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe389fa3e6bf7c4eae36c1d423cac499"><td class="memItemLeft" align="right" valign="top">std::unordered_map&lt; std::string, std::pair&lt; std::string, bool &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#afe389fa3e6bf7c4eae36c1d423cac499">m_fontList</a></td></tr>
<tr class="separator:afe389fa3e6bf7c4eae36c1d423cac499"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a86b11be611d12d2b649a87bac1b7b4"><td class="memItemLeft" align="right" valign="top">std::unordered_map&lt; std::string, std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpdf_1_1_pdf.html#a9a86b11be611d12d2b649a87bac1b7b4">m_fontNameList</a></td></tr>
<tr class="separator:a9a86b11be611d12d2b649a87bac1b7b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_classfileext_1_1_file_extension"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classfileext_1_1_file_extension')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="classfileext_1_1_file_extension.html">fileext::FileExtension</a></td></tr>
<tr class="memitem:afa966fd47bfa24ff970ebf55aab00309 inherit pub_attribs_classfileext_1_1_file_extension"><td class="memItemLeft" align="right" valign="top">pugi::xml_document&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfileext_1_1_file_extension.html#afa966fd47bfa24ff970ebf55aab00309">m_htmlTree</a></td></tr>
<tr class="separator:afa966fd47bfa24ff970ebf55aab00309 inherit pub_attribs_classfileext_1_1_file_extension"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classfileext_1_1_file_extension"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classfileext_1_1_file_extension')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classfileext_1_1_file_extension.html">fileext::FileExtension</a></td></tr>
<tr class="memitem:ab60dd620f126f6331f25467807389562 inherit pro_attribs_classfileext_1_1_file_extension"><td class="memItemLeft" align="right" valign="top">const std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfileext_1_1_file_extension.html#ab60dd620f126f6331f25467807389562">m_fileName</a></td></tr>
<tr class="separator:ab60dd620f126f6331f25467807389562 inherit pro_attribs_classfileext_1_1_file_extension"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8d527153f82f613e37f3fc278501601 inherit pro_attribs_classfileext_1_1_file_extension"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfileext_1_1_file_extension.html#ae8d527153f82f613e37f3fc278501601">m_addStyle</a> = true</td></tr>
<tr class="separator:ae8d527153f82f613e37f3fc278501601 inherit pro_attribs_classfileext_1_1_file_extension"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0a092212f71b133b3b3ab25dd5cfcfd inherit pro_attribs_classfileext_1_1_file_extension"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfileext_1_1_file_extension.html#ab0a092212f71b133b3b3ab25dd5cfcfd">m_mergingMode</a> = 0</td></tr>
<tr class="separator:ab0a092212f71b133b3b3ab25dd5cfcfd inherit pro_attribs_classfileext_1_1_file_extension"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a408937e2640340f74f04fee19393d6bd inherit pro_attribs_classfileext_1_1_file_extension"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfileext_1_1_file_extension.html#a408937e2640340f74f04fee19393d6bd">m_extractImages</a> = false</td></tr>
<tr class="separator:a408937e2640340f74f04fee19393d6bd inherit pro_attribs_classfileext_1_1_file_extension"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d9d390d5bfb40b1bad3fbf003077a27 inherit pro_attribs_classfileext_1_1_file_extension"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::pair&lt; std::string, std::string &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfileext_1_1_file_extension.html#a1d9d390d5bfb40b1bad3fbf003077a27">m_imageList</a></td></tr>
<tr class="separator:a1d9d390d5bfb40b1bad3fbf003077a27 inherit pro_attribs_classfileext_1_1_file_extension"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>PDF files into HTML сonverter. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="add31a8649f2abb488e9caec1fbae6ab0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add31a8649f2abb488e9caec1fbae6ab0">&#9670;&nbsp;</a></span>Pdf()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pdf::Pdf::Pdf </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>fileName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fileName</td><td>File name </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.0 </dd></dl>

</div>
</div>
<a id="a77a16ce4106a9dbd6031a2415fa4fff8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77a16ce4106a9dbd6031a2415fa4fff8">&#9670;&nbsp;</a></span>~Pdf()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual pdf::Pdf::~Pdf </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Destructor </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a3a1d3e12d0375b066af3de079ebf4e48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a1d3e12d0375b066af3de079ebf4e48">&#9670;&nbsp;</a></span>convert()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pdf::Pdf::convert </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>addStyle</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>extractImages</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>mergingMode</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert file to HTML-tree. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">addStyle</td><td>Should read and add styles to HTML-tree </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">extractImages</td><td>True if should extract images </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">mergingMode</td><td>Colspan/rowspan processing mode </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.0 </dd></dl>

<p>Implements <a class="el" href="classfileext_1_1_file_extension.html#a77924cbe2571ebf8e8158f6ebfd9020a">fileext::FileExtension</a>.</p>

</div>
</div>
<a id="a70dcbcdd5ececb34d407f0e9b6d515c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70dcbcdd5ececb34d407f0e9b6d515c0">&#9670;&nbsp;</a></span>decodeAscii85()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string pdf::Pdf::decodeAscii85 </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>input</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Decode ASCII 85-base encoding method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Stream data </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Decoded stream data </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.0 </dd></dl>

</div>
</div>
<a id="a6335eac778e37c568a2b79c1c0fc08e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6335eac778e37c568a2b79c1c0fc08e6">&#9670;&nbsp;</a></span>decodeAsciiHex()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string pdf::Pdf::decodeAsciiHex </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>input</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Decode ASCII Hex encoding method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Stream data </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Decoded stream data </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.0 </dd></dl>

</div>
</div>
<a id="ac81e2485e88153fed1d651a71afb01c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac81e2485e88153fed1d651a71afb01c7">&#9670;&nbsp;</a></span>decodeCcittFax()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string pdf::Pdf::decodeCcittFax </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::unordered_map&lt; std::string, std::string &gt; &amp;&#160;</td>
          <td class="paramname"><em>optionList</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Decode CCITTFaxDecode encoding method (TIFF image format) </p>
<p>CCITTFaxDecode filter decodes image data that has been encoded using either Group 3 or Group 4 CCITT facsimile (fax) encoding. CCITT encoding is designed to achieve efficient compression of monochrome (1 bit per pixel) image data at relatively low resolutions, and so is useful only for bitmap image data, not for color images, grayscale images, or general data. K possible values: </p><table class="doxtable">
<tr>
<th align="center">Value </th><th>Description  </th></tr>
<tr>
<td align="center">K &lt; 0 </td><td>Pure two-dimensional encoding (Group 4) </td></tr>
<tr>
<td align="center">K = 0 </td><td>Pure one-dimensional encoding (Group 3, 1-D) </td></tr>
<tr>
<td align="center">K &gt; 0 </td><td>Mixed one- and two-dimensional encoding (Group 3, 2-D) </td></tr>
</table>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Stream data </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Decoded stream data </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.0 </dd></dl>

</div>
</div>
<a id="aa15f55108013a680271335d0348800f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa15f55108013a680271335d0348800f1">&#9670;&nbsp;</a></span>decodeFlate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string pdf::Pdf::decodeFlate </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>input</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Decode GZ/Deflate encoding method (the most common type of compression in PDF) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Stream data </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Decoded stream data </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.0 </dd></dl>

</div>
</div>
<a id="a42eefb49bc19a679793ad3b1d30ce205"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42eefb49bc19a679793ad3b1d30ce205">&#9670;&nbsp;</a></span>decodeStream()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string pdf::Pdf::decodeStream </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::unordered_map&lt; std::string, std::string &gt; &amp;&#160;</td>
          <td class="paramname"><em>optionList</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Decode stream data. </p>
<p>There is a stream, possibly encoded by some compression method, or even several. PDF supports a lot of methods, but text is encoded in three ways:</p><ul>
<li>ASCII Hex</li>
<li>ASCII 85-base</li>
<li>GZ/Deflate <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">stream</td><td>Stream data </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">optionList</td><td>List of current object options </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Decoded stream data </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.0 </dd></dl>
</li>
</ul>

</div>
</div>
<a id="a0cf2b7177fe782894dc8e0979f6397b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cf2b7177fe782894dc8e0979f6397b7">&#9670;&nbsp;</a></span>getDirtyTextList()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pdf::Pdf::getDirtyTextList </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get array of dirty texts from <code>BT</code>-<code>ET</code> containers. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">stream</td><td>Stream data </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if at least one container contains dirty text </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.0 </dd></dl>

</div>
</div>
<a id="af4596305c4b71e76ed159594c6f84e47"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4596305c4b71e76ed159594c6f84e47">&#9670;&nbsp;</a></span>getImages()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pdf::Pdf::getImages </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>imageData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::unordered_map&lt; std::string, std::string &gt; &amp;&#160;</td>
          <td class="paramname"><em>optionList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">pugi::xml_node &amp;&#160;</td>
          <td class="paramname"><em>htmlNode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Extract images. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">imageData</td><td>Decoded image stream data </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">optionList</td><td>List of current object options </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">htmlNode</td><td>Parent HTML-node </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Decoded stream data </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.0 </dd></dl>

</div>
</div>
<a id="a030df948436a1fdc50a14639b26c2ddc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a030df948436a1fdc50a14639b26c2ddc">&#9670;&nbsp;</a></span>getObjectOptionList()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pdf::Pdf::getObjectOptionList </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::unordered_map&lt; std::string, std::string &gt; &amp;&#160;</td>
          <td class="paramname"><em>optionList</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get list of current object options. </p>
<p>Options are between <code>&lt;&lt;</code> and <code>&gt;&gt;</code>. Each option starts with <code>/</code> </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">object</td><td>Current object </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">optionList</td><td>List of current object options </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.0 </dd></dl>

</div>
</div>
<a id="a6ce4bcbb79f4305e05e806ed1053e7d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ce4bcbb79f4305e05e806ed1053e7d8">&#9670;&nbsp;</a></span>getTransformationList()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pdf::Pdf::getTransformationList </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::unordered_map&lt; std::string, std::string &gt; &amp;&#160;</td>
          <td class="paramname"><em>transformationList</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get table of transformations of individual chars. </p>
<p>Transformation is the translation of one character in hex-representation into another, or even in some sequence. We are interested in following fields, which we need to find in current stream. Data between <code>beginbfchar</code> and <code>endbfchar</code> converts one hex code to another (or a sequence of codes) separately. Between <code>beginbfrange</code> and <code>endbfrange</code>, transformation is organized over data sequences, which reduces number of definitions.</p>
<p>Firstly process individual characters. Conversion string looks like this: </p><table class="doxtable">
<tr>
<th>Type </th><th>Description  </th></tr>
<tr>
<td>&lt;0123&gt; &lt;abcd&gt; </td><td><code>0123</code> is converted to <code>abcd</code> </td></tr>
<tr>
<td>&lt;0123&gt; &lt;abcd6789&gt; </td><td><code>0123</code> is converted to several characters (<code>abcd</code> and <code>6789</code>) </td></tr>
</table>
<p>Secondly process sequences. There are two types of sequence documentation: </p><table class="doxtable">
<tr>
<th>Type </th><th>Description  </th></tr>
<tr>
<td>&lt;0000&gt; &lt;0020&gt; &lt;0a00&gt; </td><td>0000 -&gt; 0a00, 0001 -&gt; 0a01 and so on to 0020 </td></tr>
<tr>
<td>&lt;0000&gt; &lt;0002&gt; [&lt;abcd&gt; &lt;01234567&gt; &lt;8900&gt;] </td><td>Look, how much elements are between &lt;0000&gt; and </td></tr>
</table>
<p>&lt;0002&gt; (together with 0001 three). Then each of elements assign value from square brackets: 0000 -&gt; abcd, 0001 -&gt; 0123 4567, 0002 -&gt; 8900 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">stream</td><td>Stream data </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">transformationList</td><td>Table of transformations </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.0 </dd></dl>

</div>
</div>
<a id="a04844d8d06d13ed8b585baeed3d61f8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04844d8d06d13ed8b585baeed3d61f8c">&#9670;&nbsp;</a></span>transformText()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pdf::Pdf::transformText </td>
          <td>(</td>
          <td class="paramtype">pugi::xml_node &amp;&#160;</td>
          <td class="paramname"><em>htmlNode</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Transform text and generate final text. </p>
<p>Second stage - get text from "dirty" data. In PDF "dirty" text strings can look like this: </p><table class="doxtable">
<tr>
<th align="center">Type </th><th>Description  </th></tr>
<tr>
<td align="center">(I love) 10 (C++) </td><td>() contains text data, 10 - size of space </td></tr>
<tr>
<td align="center">&lt;01234567&gt; </td><td>2 symbols in HEX-representation: 0123 and 4567 </td></tr>
<tr>
<td align="center">(Hello, \123world!) </td><td>\123 is the octal char code </td></tr>
</table>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">htmlNode</td><td>Parent HTML-node </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.0 </dd></dl>

</div>
</div>
<a id="a10c22cb5ccba342ce55eea267eff2826"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10c22cb5ccba342ce55eea267eff2826">&#9670;&nbsp;</a></span>writeByte()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string pdf::Pdf::writeByte </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>isLittleEndian</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Write binary data. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>Input data type (char/int/long) </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>Number value </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>Size of data chunk </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">isLittleEndian</td><td>Order of bytes. True if should reverse result string </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Binary data </dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.0 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="addc36ba3002f2b82a3aa0eb5c7b666f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#addc36ba3002f2b82a3aa0eb5c7b666f2">&#9670;&nbsp;</a></span>m_data</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string pdf::Pdf::m_data</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Raw PDF data </p>

</div>
</div>
<a id="afe389fa3e6bf7c4eae36c1d423cac499"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe389fa3e6bf7c4eae36c1d423cac499">&#9670;&nbsp;</a></span>m_fontList</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::unordered_map&lt;std::string, std::pair&lt;std::string, bool&gt; &gt; pdf::Pdf::m_fontList</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>List of fonts and links to transformation table </p>

</div>
</div>
<a id="a9a86b11be611d12d2b649a87bac1b7b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a86b11be611d12d2b649a87bac1b7b4">&#9670;&nbsp;</a></span>m_fontNameList</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::unordered_map&lt;std::string, std::string&gt; pdf::Pdf::m_fontNameList</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>List of font names and links to objects </p>

</div>
</div>
<a id="a8dbcc764ce2e48baf60b4da05041c9fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8dbcc764ce2e48baf60b4da05041c9fb">&#9670;&nbsp;</a></span>m_textList</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;std::pair&lt;std::string, std::string&gt; &gt; pdf::Pdf::m_textList</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Array of dirty texts </p>

</div>
</div>
<a id="afa3d48e119fd19b49576c853f4351a15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa3d48e119fd19b49576c853f4351a15">&#9670;&nbsp;</a></span>m_transformationList</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::unordered_map&lt;std::string, std::unordered_map&lt;std::string, std::string&gt; &gt; pdf::Pdf::m_transformationList</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Table of transformations </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/libs/fileext/pdf/<a class="el" href="pdf_8hpp_source.html">pdf.hpp</a></li>
<li>src/libs/fileext/pdf/<a class="el" href="pdf_8cpp.html">pdf.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacepdf.html">pdf</a></li><li class="navelem"><a class="el" href="classpdf_1_1_pdf.html">Pdf</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
